package com.trussell.genesis.windowutils.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import com.trussell.genesis.Genesis;
import com.trussell.genesis.GenesisImplementor;
import com.trussell.genesis.dialogs.ChangeWorldSizeDialog;

public class NewWorldActionListener implements ActionListener{

	@Override
	public void actionPerformed(ActionEvent e) {
		Genesis.getInstance().recenterCamera();
		GenesisImplementor.getInstance().reset();
		new ChangeWorldSizeDialog();
	}

}
